import { TLine } from "../src/Engine/Core/TLine";
import { Vector3 } from "stl-typescript";
import { strictEqual } from "assert";
import { describe, it } from "@jest/globals";

describe("TLine", () => {
  const line = new TLine(new Vector3(0, 0, 0), new Vector3(0, 10, 0));
  const point = new Vector3(20, 0, 0);
  it("should have the correct value", () => {
    strictEqual(line.distanceFromPoint(point), 20);
  });
});
